package common;

import java.io.Serializable;
import java.util.Vector;

public class Homework implements Serializable {
    private String id;
    private String assignmentid;
    private String studentid;
    private String studentnumber;
    private String studentname;
    private Vector<Answer> answers=new Vector<>();
    private String score;
    private String teacherid;
    public Homework() {

    }

    public Homework(String id, String assignmentid, String studentid, String studentnumber, String studentname, String score) {
        this.id = id;
        this.assignmentid = assignmentid;
        this.studentid = studentid;
        this.studentnumber = studentnumber;
        this.studentname = studentname;
        this.score = score;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAssignmentid() {
        return assignmentid;
    }

    public void setAssignmentid(String assignmentid) {
        this.assignmentid = assignmentid;
    }

    public String getStudentid() {
        return studentid;
    }

    public void setStudentid(String studentid) {
        this.studentid = studentid;
    }

    public Vector<Answer> getAnswers() {
        return answers;
    }

    public void setAnswers(Vector<Answer> answers) {
        this.answers = answers;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    public String getStudentname() {
        return studentname;
    }

    public void setStudentname(String studentname) {
        this.studentname = studentname;
    }

    public String getStudentnumber() {
        return studentnumber;
    }

    public void setStudentnumber(String studentnumber) {
        this.studentnumber = studentnumber;
    }

    public String getTeacherid() {
        return teacherid;
    }

    public void setTeacherid(String teacherid) {
        this.teacherid = teacherid;
    }
}
